-- GENERATED SPELL FOR [Glasshide Basilisk] --


function spell0_5419(pUnit, Event) --@Crystal Flash,n/a--
pUnit:FullCastSpellOnTarget(5106,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5419', 17000, 1)
end

function Sorts_5419(pUnit, Event)
local choix_sorts_5419 = math.random(0, 0)
if choix_sorts_5419 == 0 then
pUnit:RegisterEvent('spell0_5419', 1, 1)
end
end

function mob5419_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5419', math.random(1500, 3000), 1)
end

function mob5419_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5419_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5419_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5419, 1, 'mob5419_Action')
RegisterUnitEvent(5419, 2, 'mob5419_Leave')
RegisterUnitEvent(5419, 3, 'mob5419_Kill')
RegisterUnitEvent(5419, 4, 'mob5419_Die')
